package org.dromara.finance.domain.vo;

import org.dromara.finance.domain.PurchaseInvoice;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * 采购发票视图对象 purchase_invoice
 *
 * @author xxy
 * @date 2025-08-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PurchaseInvoice.class)
public class PurchaseInvoiceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 采购合同id
     */
    @ExcelProperty(value = "采购合同id")
    private Long purchaseContractId;
    private String purchaseContractNum;

    private String projectName;

    private String supplierName;

    private Long transportSection;

    private Long currency;

    private BigDecimal localTotalAmount;
    private List<PurchaseInvoiceListVo> purchaseInvoiceList;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
